# 全局设置

import os
from os import path

## 输出路径
OUTPUT_PATH = 'output'
if path.isdir(OUTPUT_PATH) == False:
    os.mkdir(OUTPUT_PATH)

## 统一量
BATCH_SIZE = 16

## 数据集参数
DATASET_DIR = path.join('data', 'caltech-101')
DATASET_NAME = 'Caltech101'
TRAIN_NUM = 4292
VAL_NUM = 2179
TEST_NUM = 2206

CLASS_NUM = 101

## 数据记录参数
LOG_PATH = path.join('output', 'log.txt')
LOG_RATE = int(TRAIN_NUM / BATCH_SIZE / 10)
